package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

@Comment("导入-ERP-工单")
@Getter
@Setter
@TableName("tb_import_erp_work_order")
public class ImportErpWorkOrder extends BaseEntity {

    @Comment("erp_order表的ID")
    private Integer erpOrderId;

    @Comment(value = "工厂")
    private String factory;

    @Comment(value = "工单来源1-MRP计划生成；2-委外计划；3-车间任务人工建立；4-分割的工单。")
    private String workOrderGet;

    @Comment(value = "计划开始时间")
    private String planStartTime;

    @Comment(value = "工单类型 0-自制；1-外协")
    private String workOrderType;

    @Comment(value = "工单号")
    private String workOrderCode;

    @Comment(value = "物料编码")
    private String materialCode;

    @Comment(value = "工单状态0-未投料；1-开始加工；2-完工入库；3-工单取消；4-关闭工单；")
    private String workOrderState;

    @Comment(value = "原施工号")
    private String orCenterCode;

    @Comment(value = "米数")
    private String meters;

    @Comment(value = "物料名称")
    private String materialName;

    @Comment(value = "库房")
    private String lgort;

    @Comment(value = "工单生成时间")
    private String createTime;

    @Comment(value = "数量")
    private String qty;

    @Comment(value = "施工号")
    private String orderCode;

    @Comment(value = "计划结束时间")
    private String planEndTime;

    @Comment(value = "是否组件  1  是  0 不是")
    private String isComponent;

}
